import request from '@/utils/request'

// 推荐列表List
export function documentRecommendListApi(query) {
  return request({
    url: '/jsjx/documentRecommend/list',
    method: 'get',
    query
  })
};

// 推荐列表Add
export function documentRecommendAddApi(data) {
  return request({
    url: '/jsjx/documentRecommend',
    method: 'post',
    data
  })
};

// 推荐列表del
export function documentRecommendDelApi(id) {
  return request({
    url: `/jsjx/documentRecommend/${id}`,
    method: 'delete',
  })
};